package com.wang.myapplication.fragment;

/**
 * Created by xhwang on 2018/4/26.
 */

class PersonTest1 {
   private String name;
   private String hobbit;
   private int age;

    public PersonTest1(String pName, String pHobbit, int pAge) {
        name = pName;
        hobbit = pHobbit;
        age = pAge;
    }

    public String getName() {
        return name;
    }

    public void setName(String pName) {
        name = pName;
    }

    public String getHobbit() {
        return hobbit;
    }

    public void setHobbit(String pHobbit) {
        hobbit = pHobbit;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int pAge) {
        age = pAge;
    }

    @Override
    public String toString() {
        return "PersonTest{" + "name='" + name + '\'' + ", hobbit='" + hobbit + '\'' + ", age=" + age + '}';
    }
}
